package com.janj.bean;

public class Phone {
    private Integer pid ;
    private String number ;
    private Integer stuid ;

    public Phone() {
    }

    public Phone(Integer pid, String number, Integer stuid) {
        this.pid = pid;
        this.number = number;
        this.stuid = stuid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getStuid() {
        return stuid;
    }

    public void setStuid(Integer stuid) {
        this.stuid = stuid;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "pid=" + pid +
                ", number='" + number + '\'' +
                ", stuid=" + stuid +
                '}';
    }
}
